import { createStore } from 'vuex'
import user from './modules/user.js'
export default createStore({
    state: {
		count:0
    },
    mutations: {
		SET_ADD_COUNT(state) {
			state.count = state.count + 1;
		},
    },
    actions: {
		
    },
    getters: {
        count:(state)=> state.count,
    },
    modules: {// 可添加模块化配置
       user
    }
})